package com.ruoyi.cms.article.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.cms.article.domain.CmsArticle;
import com.ruoyi.cms.article.domain.CmsArticleType;

import java.util.List;

public interface ICmsArticleTypeService extends IService<CmsArticleType> {


    /**
     * 批量新增
     */
    public int batchArticleType(List<CmsArticleType> articleTypeList);

    /**
     * 通过articleID删除article分类关联
     */
    public int deleteArticleTypeByArticleId(Long articleId);

    /**
     * 批量删除article分类关联
     */
    public int deleteArticleType(Long[] ids);

    /**
     * 查询分类列表
     */
    public List<CmsArticleType> selectArticleTypeList(Long articleId);
}
